import React from 'react'
import { Link } from 'react-router'

import '../style/index.less'

export default class Nav extends React.Component {

    constructor(props) {
        super(props);
    }

    render() {
        return (
            <ul className="navbar">
                <li><Link to="/home" activeStyle={{color: '#555', backgroundColor: '#e7e7e7',display:'inline-block'}}>home</Link></li>
                <li><Link to="/about" activeStyle={{color: '#555', backgroundColor: '#e7e7e7',display:'inline-block'}}>about</Link></li>
            </ul>
        )
    }
}